package com.woniu.ly.manageassembly.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.ly.model.model.Hotel;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface HotelMapper extends BaseMapper<Hotel> {
    @Update("UPDATE t_hotel SET hotel_status = #{hotelStatus} WHERE hotel_id = #{hotelId}")
    void changeHotelStatus(@Param("hotelId") int hotelId,@Param("hotelStatus") String hotelStatus);
}
